SftTree/NET 2.0

LastDisplayedAndVisibleIndex Property, ColumnsClass Class

Softel vdm, Inc.

Returns the index of the last displayed column.

Syntax      ColumnsClass Class (Softelvdm.SftTreeNET)

VB   

Public ReadOnly Property LastDisplayedAndVisibleIndex As Integer

C#   

public int LastDisplayedAndVisibleIndex { get; }

C++   

public: property int LastDisplayedAndVisibleIndex {
        int get();
}

Property Value

The index of the last displayed column or null/Nothing if the column collection is empty.

Comments

The LastDisplayedAndVisibleIndex property returns the index of the last displayed column.

The LastDisplayedAndVisibleIndex property returns the index of the last displayed column. This is not necessarily the last column in the column collection. The LastIndex property returns the index of the last column in the column collection.

The LastDisplayedIndex property returns the index of the last column in the display order, even if that column has a width of 0. The LastDisplayedAndVisibleIndex property insures that the column also has a width greater than 0.

A column is considered displayed or visible even if it is horizontally scrolled off the control's display area. A column can be scrolled into the display area of the control by using the ColumnClass.ScrollIntoView method.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com